import request from '@/utils/request'
import qs from 'qs'


//获取业主列表  ..
export function getList(data) {
  return request({
    url: '/user/proprietor/list',
    method: 'post',
    data
  })
}

//获取用户详情信息 
export function getDetail(id) {
  return request({
    url: '/user/proprietor/detail/' + id,
    method: 'get'
  })
}

// export function update(data) {
//   return request({
//     url: 'sys/role/update',
//     method: 'post',
//     data
//   })
// }


//启用或者禁用 
export function disableOrEnable(data) {

  return request({

    url: '/user/proprietor/disableOrEnable',
    method: 'post',
    data
  
  })
}



